package com.yssystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yssystem.domain.dto.UserDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SystemLoginMapper extends BaseMapper<UserDto> {
    @Select("select id,username,password from sys_user where username = #{username}")
    UserDto getUser(String username);
}
